{loop $list $key $item}
<div class="house {if $item['id']==$id}active{/if}">
    <div class="nums">
        <p><input type="hidden" name="ids[]" value="{$item['id']}"/>
            <input class="form-control" name="ishot[]" type="text" value="{$item['ishot']}" /></p>
    </div>
    <div class="face">
        <img src="{php echo tomedia($item['thumb'])}" style="  width:60px; height:45px; " />
    </div>
    <div class="house_body">
        <p> <span style="color:blue;">

                {if $item['zhutype']==0}[二手房]{/if}
                {if $item['zhutype']==2}[租房]{/if}
                {if $item['zhutype']==3}[新房]{/if}
                {if $item['zhutype']==4}[商铺]{/if}
                {if $item['zhutype']==7}[厂房]{/if}
                {if $item['zhutype']==8}[仓库]{/if}
                {if $item['zhutype']==9}[写字楼]{/if}
            </span>
            <span style="color:#bf0000">
                {if $item['zhutype']>3}
                {if $item['rent_type']==0}[出售]{/if}
                {if $item['rent_type']==2}[出租]{/if}
                {if $item['rent_type']==3}[转让]{/if}
                {/if}
            </span>
            {$item['title']}
            {if $item['istop']}
            <label class="label label-success">置顶{$item['istop']}</label>
            {/if}
        </p>
        <p style="color: #999;">
            {if $item['zhutype']==4} {$item['prule']}{/if}
            {if $item['zhutype']==7 || $item['zhutype']==8 }
            {$item['danyuan']} - {$item['dong']}
            {/if}

            {if $item['zhutype']< 4} {$item['house_type']} {$item['traveaux_finition']}
                {$item['room']}房{$item['hall']}厅{$item['garder']}卫 {/if} {$item['superficie']}㎡ <span
                style="color: #bf0000;">{$item['loyer']}{$item['prix_unitaire']}</span>
        </p>

    </div>
    <div class="house_action">
        <input type="checkbox" name="delete[{$item['id']}]" value="1"/> 移除
    </div>
</div>
{/loop}
<input type="hidden" name="id" value="{$id}"/>
<!-- tabsegment -->
{loop $list2 $key $item}
<div class="house {if $key==0}active{/if}">
    <div class="nums">
        <p> {$item['ishot']}  </p>
    </div>
    <div class="face">
        <img src="{php echo tomedia($item['thumb'])}" style="  width:60px; height:45px; " />
    </div>
    <div class="house_body">
        <p> <span style="color:blue;">

                {if $item['zhutype']==0}[二手房]{/if}
                {if $item['zhutype']==2}[租房]{/if}
                {if $item['zhutype']==3}[新房]{/if}
                {if $item['zhutype']==4}[商铺]{/if}
                {if $item['zhutype']==7}[厂房]{/if}
                {if $item['zhutype']==8}[仓库]{/if}
                {if $item['zhutype']==9}[写字楼]{/if}
            </span>
            <span style="color:#bf0000">
                {if $item['zhutype']>3}
                {if $item['rent_type']==0}[出售]{/if}
                {if $item['rent_type']==2}[出租]{/if}
                {if $item['rent_type']==3}[转让]{/if}
                {/if}
            </span>
            {$item['title']}
        </p>
        <p style="color: #999;">
            {if $item['zhutype']==4} {$item['prule']}{/if}
            {if $item['zhutype']==7 || $item['zhutype']==8 }
            {$item['danyuan']} - {$item['dong']}
            {/if}

            {if $item['zhutype']< 4} {$item['house_type']} {$item['traveaux_finition']}
                {$item['room']}房{$item['hall']}厅{$item['garder']}卫 {/if} {$item['superficie']}㎡ <span
                style="color: #bf0000;">{$item['loyer']}{$item['prix_unitaire']}</span>
        </p>

    </div>
</div>
{/loop}
<!-- tabsegment -->
{loop $list3 $key $item}
<div class="house {if $key==0}active{/if}">
    <div class="nums">
        <p> {$item['ishot']} </p>
    </div>
    <div class="face">
        <img src="{php echo tomedia($item['thumb'])}" style="  width:60px; height:45px; " />
    </div>
    <div class="house_body">
        <p> <span style="color:blue;">

                {if $item['zhutype']==0}[二手房]{/if}
                {if $item['zhutype']==2}[租房]{/if}
                {if $item['zhutype']==3}[新房]{/if}
                {if $item['zhutype']==4}[商铺]{/if}
                {if $item['zhutype']==7}[厂房]{/if}
                {if $item['zhutype']==8}[仓库]{/if}
                {if $item['zhutype']==9}[写字楼]{/if}
            </span>
            <span style="color:#bf0000">
                {if $item['zhutype']>3}
                {if $item['rent_type']==0}[出售]{/if}
                {if $item['rent_type']==2}[出租]{/if}
                {if $item['rent_type']==3}[转让]{/if}
                {/if}
            </span>
            {$item['title']}
        </p>
        <p style="color: #999;">
            {if $item['zhutype']==4} {$item['prule']}{/if}
            {if $item['zhutype']==7 || $item['zhutype']==8 }
            {$item['danyuan']} - {$item['dong']}
            {/if}

            {if $item['zhutype']< 4} {$item['house_type']} {$item['traveaux_finition']}
                {$item['room']}房{$item['hall']}厅{$item['garder']}卫 {/if} {$item['superficie']}㎡ <span
                style="color: #bf0000;">{$item['loyer']}{$item['prix_unitaire']}</span>
        </p>

    </div>
</div>
{/loop}